
<!-- saved from url=(0119)http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040307 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	  
    <title>i5ting_ztree_toc:index</title>
		<link href="./i5ting_ztree_toc_index_files/github-bf51422f4bb36427d391e4b75a1daa083c2d840e.css" media="all" rel="stylesheet" type="text/css">
		<link href="./i5ting_ztree_toc_index_files/github2-d731afd4f624c99a4b19ad69f3083cd6d02b81d5.css" media="all" rel="stylesheet" type="text/css">
		<link href="./i5ting_ztree_toc_index_files/zTreeStyle.css" media="all" rel="stylesheet" type="text/css">
	  <style>
		pre {
		    counter-reset: line-numbering;
		    border: solid 1px #d9d9d9;
		    border-radius: 0;
		    background: #fff;
		    padding: 0;
		    line-height: 23px;
		    margin-bottom: 30px;
		    white-space: pre;
		    overflow-x: auto;
		    word-break: inherit;
		    word-wrap: inherit;
		}

		pre a::before {
		  content: counter(line-numbering);
		  counter-increment: line-numbering;
		  padding-right: 1em; /* space after numbers */
		  width: 25px;
		  text-align: right;
		  opacity: 0.7;
		  display: inline-block;
		  color: #aaa;
		  background: #eee;
		  margin-right: 16px;
		  padding: 2px 10px;
		  font-size: 13px;
		  -webkit-touch-callout: none;
		  -webkit-user-select: none;
		  -khtml-user-select: none;
		  -moz-user-select: none;
		  -ms-user-select: none;
		  user-select: none;
		}

		pre a:first-of-type::before {
		  padding-top: 10px;
		}

		pre a:last-of-type::before {
		  padding-bottom: 10px;
		}

		pre a:only-of-type::before {
		  padding: 10px;
		}

		.highlight { background-color: #ffffcc } /* RIGHT */
		</style>
  </head>
  <body>
	  <div>
				<div style="width:25%;">
						<ul id="tree" class="ztree" style="width: 326px; overflow: auto; position: fixed; z-index: 2147483647; border: 0px none; left: 0px; top: 0px; height: 1394px;"><li id="tree_1" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="tree_1_switch" title="" class="button level0 switch roots_docu" treenode_switch=""></span><a id="tree_1_a" class="level0 curSelectedNode" treenode_a="" onclick="" target="_blank" style="" title="Table of Content"><span id="tree_1_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_1_span">Table of Content</span></a></li><li id="tree_2" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="tree_2_switch" title="" class="button level0 switch center_docu" treenode_switch=""></span><a id="tree_2_a" class="level0" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#1" target="_self" style="" title="1. typora-copy-images-to: medias"><span id="tree_2_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_2_span">1. typora-copy-images-to: medias</span></a></li><li id="tree_3" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="tree_3_switch" title="" class="button level0 switch center_open" treenode_switch=""></span><a id="tree_3_a" class="level0" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#2" target="_self" style="" title="2. 移动电商项目"><span id="tree_3_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_3_span">2. 移动电商项目</span></a><ul id="tree_3_ul" class="level0 line" style="display:block"><li id="tree_4" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_4_switch" title="" class="button level1 switch center_docu" treenode_switch=""></span><a id="tree_4_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#201" target="_self" style="" title="2.1. 项目模块"><span id="tree_4_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_4_span">2.1. 项目模块</span></a></li><li id="tree_5" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_5_switch" title="" class="button level1 switch bottom_docu" treenode_switch=""></span><a id="tree_5_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#202" target="_self" style="" title="2.2. 项目架构"><span id="tree_5_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_5_span">2.2. 项目架构</span></a></li></ul></li><li id="tree_6" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="tree_6_switch" title="" class="button level0 switch center_docu" treenode_switch=""></span><a id="tree_6_a" class="level0" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#3" target="_self" style="" title="3. 资源地址"><span id="tree_6_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_6_span">3. 资源地址</span></a></li><li id="tree_7" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="tree_7_switch" title="" class="button level0 switch center_docu" treenode_switch=""></span><a id="tree_7_a" class="level0" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#4" target="_self" style="" title="4. 帐号和密码"><span id="tree_7_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_7_span">4. 帐号和密码</span></a></li><li id="tree_8" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="tree_8_switch" title="" class="button level0 switch center_open" treenode_switch=""></span><a id="tree_8_a" class="level0" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#5" target="_self" style="" title="5. 项目环境搭建"><span id="tree_8_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_8_span">5. 项目环境搭建</span></a><ul id="tree_8_ul" class="level0 line" style="display:block"><li id="tree_9" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_9_switch" title="" class="button level1 switch center_docu" treenode_switch=""></span><a id="tree_9_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#501" target="_self" style="" title="5.1. 安装nodejs"><span id="tree_9_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_9_span">5.1. 安装nodejs</span></a></li><li id="tree_10" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_10_switch" title="" class="button level1 switch center_docu" treenode_switch=""></span><a id="tree_10_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#502" target="_self" style="" title="5.2. 安装步骤:"><span id="tree_10_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_10_span">5.2. 安装步骤:</span></a></li><li id="tree_11" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_11_switch" title="" class="button level1 switch center_docu" treenode_switch=""></span><a id="tree_11_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#503" target="_self" style="" title="5.3. 安装cpm"><span id="tree_11_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_11_span">5.3. 安装cpm</span></a></li><li id="tree_12" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_12_switch" title="" class="button level1 switch center_docu" treenode_switch=""></span><a id="tree_12_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#504" target="_self" style="" title="5.4. 安装步骤:"><span id="tree_12_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_12_span">5.4. 安装步骤:</span></a></li><li id="tree_13" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_13_switch" title="" class="button level1 switch center_docu" treenode_switch=""></span><a id="tree_13_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#505" target="_self" style="" title="5.5. 安装phpstudy集成环境"><span id="tree_13_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_13_span">5.5. 安装phpstudy集成环境</span></a></li><li id="tree_14" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_14_switch" title="" class="button level1 switch center_docu" treenode_switch=""></span><a id="tree_14_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#506" target="_self" style="" title="5.6. 安装数据库操作工具"><span id="tree_14_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_14_span">5.6. 安装数据库操作工具</span></a></li><li id="tree_15" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_15_switch" title="" class="button level1 switch bottom_docu" treenode_switch=""></span><a id="tree_15_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#507" target="_self" style="" title="5.7. 安装git"><span id="tree_15_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_15_span">5.7. 安装git</span></a></li></ul></li><li id="tree_16" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="tree_16_switch" title="" class="button level0 switch center_open" treenode_switch=""></span><a id="tree_16_a" class="level0" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#6" target="_self" style="" title="6. 启动项目"><span id="tree_16_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_16_span">6. 启动项目</span></a><ul id="tree_16_ul" class="level0 line" style="display:block"><li id="tree_17" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_17_switch" title="" class="button level1 switch center_docu" treenode_switch=""></span><a id="tree_17_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#601" target="_self" style="" title="6.1. 将数据填充到mysql中"><span id="tree_17_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_17_span">6.1. 将数据填充到mysql中</span></a></li><li id="tree_18" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_18_switch" title="" class="button level1 switch center_open" treenode_switch=""></span><a id="tree_18_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#602" target="_self" style="" title="6.2. 启动项目"><span id="tree_18_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_18_span">6.2. 启动项目</span></a><ul id="tree_18_ul" class="level1 line" style="display:block"><li id="tree_19" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_19_switch" title="" class="button level2 switch bottom_docu" treenode_switch=""></span><a id="tree_19_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#360201" target="_self" style="" title="6.2.1. 修改默认端口号"><span id="tree_19_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_19_span">6.2.1. 修改默认端口号</span></a></li></ul></li><li id="tree_20" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_20_switch" title="" class="button level1 switch bottom_docu" treenode_switch=""></span><a id="tree_20_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#603" target="_self" style="" title="6.3. 总结"><span id="tree_20_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_20_span">6.3. 总结</span></a></li></ul></li><li id="tree_21" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="tree_21_switch" title="" class="button level0 switch bottom_open" treenode_switch=""></span><a id="tree_21_a" class="level0" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#7" target="_self" style="" title="7. 数据请求接口地址"><span id="tree_21_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_21_span">7. 数据请求接口地址</span></a><ul id="tree_21_ul" class="level0 " style="display:block"><li id="tree_22" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_22_switch" title="" class="button level1 switch center_open" treenode_switch=""></span><a id="tree_22_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#701" target="_self" style="" title="7.1. 前台官网接口"><span id="tree_22_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_22_span">7.1. 前台官网接口</span></a><ul id="tree_22_ul" class="level1 line" style="display:block"><li id="tree_23" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_23_switch" title="" class="button level2 switch center_open" treenode_switch=""></span><a id="tree_23_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#490101" target="_self" style="" title="7.1.1. 用户模块"><span id="tree_23_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_23_span">7.1.1. 用户模块</span></a><ul id="tree_23_ul" class="level2 line" style="display:block"><li id="tree_24" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_24_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_24_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010101" target="_self" style="" title="7.1.1.1. register"><span id="tree_24_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_24_span">7.1.1.1. register</span></a></li><li id="tree_25" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_25_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_25_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010102" target="_self" style="" title="7.1.1.2. login"><span id="tree_25_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_25_span">7.1.1.2. login</span></a></li><li id="tree_26" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_26_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_26_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010103" target="_self" style="" title="7.1.1.3. logout"><span id="tree_26_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_26_span">7.1.1.3. logout</span></a></li><li id="tree_27" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_27_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_27_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010104" target="_self" style="" title="7.1.1.4. update-password"><span id="tree_27_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_27_span">7.1.1.4. update-password</span></a></li><li id="tree_28" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_28_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_28_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010105" target="_self" style="" title="7.1.1.5. query-user-message"><span id="tree_28_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_28_span">7.1.1.5. query-user-message</span></a></li><li id="tree_29" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_29_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_29_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010106" target="_self" style="" title="7.1.1.6. v-code"><span id="tree_29_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_29_span">7.1.1.6. v-code</span></a></li><li id="tree_30" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_30_switch" title="" class="button level3 switch bottom_docu" treenode_switch=""></span><a id="tree_30_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010107" target="_self" style="" title="7.1.1.7. v-code-for-update-password"><span id="tree_30_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_30_span">7.1.1.7. v-code-for-update-password</span></a></li></ul></li><li id="tree_31" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_31_switch" title="" class="button level2 switch center_open" treenode_switch=""></span><a id="tree_31_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#490102" target="_self" style="" title="7.1.2. 产品模块"><span id="tree_31_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_31_span">7.1.2. 产品模块</span></a><ul id="tree_31_ul" class="level2 line" style="display:block"><li id="tree_32" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_32_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_32_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010201" target="_self" style="" title="7.1.2.1. query-product"><span id="tree_32_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_32_span">7.1.2.1. query-product</span></a></li><li id="tree_33" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_33_switch" title="" class="button level3 switch bottom_docu" treenode_switch=""></span><a id="tree_33_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010202" target="_self" style="" title="7.1.2.2. query-product-detail"><span id="tree_33_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_33_span">7.1.2.2. query-product-detail</span></a></li></ul></li><li id="tree_34" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_34_switch" title="" class="button level2 switch center_open" treenode_switch=""></span><a id="tree_34_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#490103" target="_self" style="" title="7.1.3. 分类模块"><span id="tree_34_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_34_span">7.1.3. 分类模块</span></a><ul id="tree_34_ul" class="level2 line" style="display:block"><li id="tree_35" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_35_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_35_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010301" target="_self" style="" title="7.1.3.1. query-top-category"><span id="tree_35_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_35_span">7.1.3.1. query-top-category</span></a></li><li id="tree_36" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_36_switch" title="" class="button level3 switch bottom_docu" treenode_switch=""></span><a id="tree_36_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010302" target="_self" style="" title="7.1.3.2. query-second-category"><span id="tree_36_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_36_span">7.1.3.2. query-second-category</span></a></li></ul></li><li id="tree_37" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_37_switch" title="" class="button level2 switch bottom_open" treenode_switch=""></span><a id="tree_37_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#490104" target="_self" style="" title="7.1.4. 购物车"><span id="tree_37_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_37_span">7.1.4. 购物车</span></a><ul id="tree_37_ul" class="level2 " style="display:block"><li id="tree_38" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_38_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_38_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010401" target="_self" style="" title="7.1.4.1. add-cart"><span id="tree_38_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_38_span">7.1.4.1. add-cart</span></a></li><li id="tree_39" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_39_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_39_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010402" target="_self" style="" title="7.1.4.2. update-cart"><span id="tree_39_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_39_span">7.1.4.2. update-cart</span></a></li><li id="tree_40" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_40_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_40_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010403" target="_self" style="" title="7.1.4.3. delete-cart"><span id="tree_40_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_40_span">7.1.4.3. delete-cart</span></a></li><li id="tree_41" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_41_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_41_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010404" target="_self" style="" title="7.1.4.4. query-cart-Paging"><span id="tree_41_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_41_span">7.1.4.4. query-cart-Paging</span></a></li><li id="tree_42" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_42_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_42_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010405" target="_self" style="" title="7.1.4.5. query-cart"><span id="tree_42_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_42_span">7.1.4.5. query-cart</span></a></li><li id="tree_43" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_43_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_43_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010406" target="_self" style="" title="7.1.4.6. update-address"><span id="tree_43_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_43_span">7.1.4.6. update-address</span></a></li><li id="tree_44" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_44_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_44_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010407" target="_self" style="" title="7.1.4.7. delete-address"><span id="tree_44_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_44_span">7.1.4.7. delete-address</span></a></li><li id="tree_45" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_45_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_45_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010408" target="_self" style="" title="7.1.4.8. query-address"><span id="tree_45_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_45_span">7.1.4.8. query-address</span></a></li><li id="tree_46" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_46_switch" title="" class="button level3 switch bottom_docu" treenode_switch=""></span><a id="tree_46_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343010409" target="_self" style="" title="7.1.4.9. query-address-tree"><span id="tree_46_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_46_span">7.1.4.9. query-address-tree</span></a></li></ul></li></ul></li><li id="tree_47" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="tree_47_switch" title="" class="button level1 switch bottom_open" treenode_switch=""></span><a id="tree_47_a" class="level1" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#702" target="_self" style="" title="7.2. 后台管理接口"><span id="tree_47_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_47_span">7.2. 后台管理接口</span></a><ul id="tree_47_ul" class="level1 " style="display:block"><li id="tree_48" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_48_switch" title="" class="button level2 switch center_open" treenode_switch=""></span><a id="tree_48_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#490201" target="_self" style="" title="7.2.1. 员工模块"><span id="tree_48_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_48_span">7.2.1. 员工模块</span></a><ul id="tree_48_ul" class="level2 line" style="display:block"><li id="tree_49" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_49_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_49_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040101" target="_self" style="" title="7.2.1.1. employee-login"><span id="tree_49_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_49_span">7.2.1.1. employee-login</span></a></li><li id="tree_50" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_50_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_50_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040102" target="_self" style="" title="7.2.1.2. employee-logout"><span id="tree_50_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_50_span">7.2.1.2. employee-logout</span></a></li><li id="tree_51" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_51_switch" title="" class="button level3 switch bottom_docu" treenode_switch=""></span><a id="tree_51_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040103" target="_self" style="" title="7.2.1.3. check-root-login"><span id="tree_51_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_51_span">7.2.1.3. check-root-login</span></a></li></ul></li><li id="tree_52" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_52_switch" title="" class="button level2 switch center_open" treenode_switch=""></span><a id="tree_52_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#490202" target="_self" style="" title="7.2.2. 产品模块"><span id="tree_52_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_52_span">7.2.2. 产品模块</span></a><ul id="tree_52_ul" class="level2 line" style="display:block"><li id="tree_53" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_53_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_53_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040201" target="_self" style="" title="7.2.2.1. add-product"><span id="tree_53_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_53_span">7.2.2.1. add-product</span></a></li><li id="tree_54" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_54_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_54_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040202" target="_self" style="" title="7.2.2.2. add-product-pic"><span id="tree_54_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_54_span">7.2.2.2. add-product-pic</span></a></li><li id="tree_55" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_55_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_55_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040203" target="_self" style="" title="7.2.2.3. update-product"><span id="tree_55_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_55_span">7.2.2.3. update-product</span></a></li><li id="tree_56" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_56_switch" title="" class="button level3 switch bottom_docu" treenode_switch=""></span><a id="tree_56_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040204" target="_self" style="" title="7.2.2.4. query-product-detail-list"><span id="tree_56_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_56_span">7.2.2.4. query-product-detail-list</span></a></li></ul></li><li id="tree_57" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_57_switch" title="" class="button level2 switch center_open" treenode_switch=""></span><a id="tree_57_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#490203" target="_self" style="" title="7.2.3. 分类模块"><span id="tree_57_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_57_span">7.2.3. 分类模块</span></a><ul id="tree_57_ul" class="level2 line" style="display:block"><li id="tree_58" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_58_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_58_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040301" target="_self" style="" title="7.2.3.1. add-top-category"><span id="tree_58_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_58_span">7.2.3.1. add-top-category</span></a></li><li id="tree_59" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_59_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_59_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040302" target="_self" style="" title="7.2.3.2. update-top-category"><span id="tree_59_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_59_span">7.2.3.2. update-top-category</span></a></li><li id="tree_60" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_60_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_60_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040303" target="_self" style="" title="7.2.3.3. query-top-category-paging"><span id="tree_60_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_60_span">7.2.3.3. query-top-category-paging</span></a></li><li id="tree_61" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_61_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_61_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040304" target="_self" style="" title="7.2.3.4. add-second-category"><span id="tree_61_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_61_span">7.2.3.4. add-second-category</span></a></li><li id="tree_62" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_62_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_62_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040305" target="_self" style="" title="7.2.3.5. add-second-category-pic"><span id="tree_62_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_62_span">7.2.3.5. add-second-category-pic</span></a></li><li id="tree_63" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_63_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_63_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040306" target="_self" style="" title="7.2.3.6. update-second-category"><span id="tree_63_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_63_span">7.2.3.6. update-second-category</span></a></li><li id="tree_64" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_64_switch" title="" class="button level3 switch bottom_docu" treenode_switch=""></span><a id="tree_64_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040307" target="_self" style="" title="7.2.3.7. query-second-category-paging"><span id="tree_64_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_64_span">7.2.3.7. query-second-category-paging</span></a></li></ul></li><li id="tree_65" class="level2" tabindex="0" hidefocus="true" treenode=""><span id="tree_65_switch" title="" class="button level2 switch bottom_open" treenode_switch=""></span><a id="tree_65_a" class="level2" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#490204" target="_self" style="" title="7.2.4. 用户模块"><span id="tree_65_ico" title="" treenode_ico="" class="button ico_open" style="width:0px;height:0px;"></span><span id="tree_65_span">7.2.4. 用户模块</span></a><ul id="tree_65_ul" class="level2 " style="display:block"><li id="tree_66" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_66_switch" title="" class="button level3 switch center_docu" treenode_switch=""></span><a id="tree_66_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040401" target="_self" style="" title="7.2.4.1. query-user"><span id="tree_66_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_66_span">7.2.4.1. query-user</span></a></li><li id="tree_67" class="level3" tabindex="0" hidefocus="true" treenode=""><span id="tree_67_switch" title="" class="button level3 switch bottom_docu" treenode_switch=""></span><a id="tree_67_a" class="level3" treenode_a="" onclick="" href="http://uksir.gitee.io/api/%E4%B9%90%E6%B7%98%E7%94%B5%E5%95%86%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3/index.html#343040402" target="_self" style="" title="7.2.4.2. update-user"><span id="tree_67_ico" title="" treenode_ico="" class="button ico_docu" style="width:0px;height:0px;"></span><span id="tree_67_span">7.2.4.2. update-user</span></a></li></ul></li></ul></li></ul></li></ul>
				</div>
        <div id="readme" style="width: 70%; margin-left: 25%;">
          	<article class="markdown-body">
            	<hr>
<h2 id="1">1. typora-copy-images-to: medias</h2>
<h1 id="2">2. 移动电商项目</h1>
<h2 id="201">2.1. 项目模块</h2>
<p><img src="./i5ting_ztree_toc_index_files/1516374642608.png" alt="1516374642608"></p>
<h2 id="202">2.2. 项目架构</h2>
<p><img src="./i5ting_ztree_toc_index_files/1516374954115.png" alt="1516374954115"></p>
<h1 id="3">3. 资源地址</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>地址</th>
</tr>
</thead>
<tbody>
<tr>
<td>完整案例</td>
<td><a href="https://gitee.com/ukSir/MyLeTao.git">https://gitee.com/ukSir/MyLeTao.git</a></td>
</tr>
<tr>
<td>上课代码</td>
<td><a href="https://gitee.com/ukSir/letao16.git">https://gitee.com/ukSir/letao16.git</a></td>
</tr>
<tr>
<td>Mui官网</td>
<td><a href="http://dev.dcloud.net.cn/mui/">http://dev.dcloud.net.cn/mui/</a></td>
</tr>
<tr>
<td>Mui-示例</td>
<td><a href="http://www.dcloud.io/hellomui/">http://www.dcloud.io/hellomui/</a></td>
</tr>
<tr>
<td>Font-awesome</td>
<td><a href="http://fontawesome.dashgame.com/">http://fontawesome.dashgame.com/</a></td>
</tr>
</tbody>
</table>
<h1 id="4">4. 帐号和密码</h1>
<p>为了确保软件的环境都一样 建议我们统一所有的用户名和密码</p>
<table>
<thead>
<tr>
<th>软件</th>
<th>用户名</th>
<th>密码</th>
</tr>
</thead>
<tbody>
<tr>
<td>mysql</td>
<td>root</td>
<td>root</td>
</tr>
<tr>
<td>navicat</td>
<td>root</td>
<td>root</td>
</tr>
<tr>
<td>乐淘项目文件 letao/models/db.js</td>
<td>root</td>
<td>root</td>
</tr>
<tr>
<td>前台用户名和密码</td>
<td>itcast</td>
<td>111111</td>
</tr>
<tr>
<td>后台用户名和密码</td>
<td>root</td>
<td>123456</td>
</tr>
</tbody>
</table>
<h1 id="5">5. 项目环境搭建</h1>
<p>因为本项目的启动需要配置好相关环境,因此在配置环境的时候要仔细阅读文档,尽量减少错误</p>
<h2 id="501">5.1. 安装nodejs</h2>
<p>nodejs的版本号为 <strong>8.9.1</strong>  用之前发的 <strong>资源文件</strong> 里面 nodejs 直接安装即可</p>
<p><a href="https://nodejs.org/download/release/v8.9.1/">在线下载地址</a></p>
<h2 id="502">5.2. 安装步骤:</h2>
<ol>
<li><p>直接双击打开安装文件  <strong>node-v8.9.1-x64.msi</strong>  为了减少出错,建议将安装路径修改为 <code>C:\nodejs\</code></p>
</li>
<li><p>一直点击下一步即可 直到提示安装成功</p>
</li>
<li><p>安装成功后,<strong>重启电脑</strong>  然后 打开命令行工具 输入 <code>node -v</code> 出现了版本号 则代表成功安装</p>
<p>​</p>
</li>
</ol>
<h2 id="503">5.3. 安装cpm</h2>
<p>安装nodejs成功后,自带有<strong>npm </strong>包管理工具 ,我们在安装依赖的时候 都是npm在帮我们安装.由于npm的服务器在国外,经常会导致安装过慢或者失败.因此 建议安装 <strong>cnpm</strong>  <strong>cnpm</strong>  是淘宝做的一个替代cnpm的一个工具.在使用cnpm工具安装依赖的时候,会默认使用淘宝的服务器,因此 安装依赖的速度提升飞快</p>
<h2 id="504">5.4. 安装步骤:</h2>
<ol>
<li>打开命令行工具cmd  键盘敲入<code>win+r</code>  然输入 <code>cmd</code> 打开即可</li>
<li>输入命令 <code>npm install -g cnpm</code> 等待安装成功</li>
<li>输入 <code>cnpm -v</code>  如出现版本号,代表成功安装</li>
</ol>
<h2 id="505">5.5. 安装phpstudy集成环境</h2>
<p>由于 <strong>phpstudy</strong> 是继承环境 里面已经继承了mysql数据 只要双击打开即可使用 但是 <strong>不要放在中文目录下否则容易出bug</strong></p>
<p>双击打开 <strong>phpStudy.exe</strong>   </p>
<p><img src="./i5ting_ztree_toc_index_files/1516187029183.png" alt="1516187029183"></p>
<h2 id="506">5.6. 安装数据库操作工具</h2>
<p>phpstudy 里面带有了mysql,但是还需要一个 可视化界面来操作mysql 因此我们使用 <strong>navicat</strong> 即可</p>
<ol>
<li>双击打开 <strong>navicat.exe</strong> </li>
<li>点击 <strong>连接</strong></li>
<li>点击 <strong>连接测试</strong></li>
<li>弹出消息 <strong>"连接成功"</strong> 即代表 成功</li>
</ol>
<p><img src="./i5ting_ztree_toc_index_files/1516187240923.png" alt="1516187240923"></p>
<h2 id="507">5.7. 安装git</h2>
<p>双击安装 一直点击下一步即可.</p>
<h1 id="6">6. 启动项目</h1>
<p>在启动项目之前 先确保上一个的每个步骤的环境都搭建好</p>
<ol>
<li>nodejs和cnpm安装成功</li>
<li>phpStudy启动成功</li>
<li>navicat成功连接上mysql</li>
</ol>
<h2 id="601">6.1. 将数据填充到mysql中</h2>
<p>mysql安装成功后,此时还没有任何数据,因此 我们需要将数据填充到mysql中.</p>
<ol>
<li>运行phpStudy.exe   启动 <strong>mysql</strong></li>
<li>打开 <strong>navicat.exe</strong> </li>
<li>双击 <strong>navicat.exe</strong> 中的连接 <strong>localhost_3306</strong></li>
<li>右键 <strong>localhost_3306</strong> 在弹出的菜单中选择 <strong>运行SQL文件</strong></li>
<li>选择 <strong>资源文件</strong> 中的 <strong>letao初始化.sql</strong> 点击 <strong>开始</strong>  直到运行完毕(很快的)  点击 <strong>关闭</strong></li>
<li>重启 <strong>navicat.exe</strong>  点击 <strong>localhost_3306</strong>  发现里面多了一个数据库 <strong>letao</strong></li>
</ol>
<p><img src="./i5ting_ztree_toc_index_files/运行sql文件.gif" alt="运行sql文件"></p>
<h2 id="602">6.2. 启动项目</h2>
<p>在你想要保存项目的位置 打开git bash 开始克隆代码</p>
<pre><code>git clone https://gitee.com/ukSir/MyLeTao.git
</code></pre><p><strong>进入到MyLeTao文件夹内</strong></p>
<p>输入以下命令 开始安装依赖 等待安装成功</p>
<pre><code>cnpm i
</code></pre><p>由于项目代码是基于nodejs,nodejs连接 mysql需要 配置好 <strong>你的电脑上的mysql的用户名和密码</strong></p>
<p>此时打开项目代码 <strong>MyLeTao/models/db.js</strong>, 填入你mysql正确的用户名和密码(root和root) </p>
<p><strong>一般不用修改</strong></p>
<pre><code class="lang-javascript">const pool  = mysql.createPool({
  // 主机号 不用修改
    host : '127.0.0.1',
  // 用户名
    user : 'root',
  // 密码
    password : 'root',
  // 数据库名称
    database : 'letao'
});
</code></pre>
<p>此时 在项目的根目录下 <strong>MyLeTao/</strong> 打开 命令行工具 输入:</p>
<pre><code>// 默认端口号为 3000
npm start

// 如果发现端口号被占用 可以修改端口号如 8899 打开
PORT=8899 npm start
</code></pre><p><img src="./i5ting_ztree_toc_index_files/1516197566005.png" alt="1516197566005"></p>
<p>此时在浏览器中输入 地址</p>
<pre><code>// 3000 为端口号 如果 已经修改  那么3000 就改为你设定的端口号
// 如果出现正常网页 证明 项目已经跑起来了
localhost:3000/mobile

// 测试数据库的连接是否走通  输入以下地址
// 如果出现正常的带有数据的页面 证明项目已经全部搭建成功
http://localhost:3000/mobile/cate.html
</code></pre><h3 id="360201">6.2.1. 修改默认端口号</h3>
<p>如果在本机中需要同时运行多个乐淘的项目,因为每一个项目占用的端口号不一样.或者存在端口号占用,可以按照以下表格进行配置</p>
<table>
<thead>
<tr>
<th>项目</th>
<th>端口号</th>
</tr>
</thead>
<tbody>
<tr>
<td>乐淘完整项目</td>
<td>3000</td>
</tr>
<tr>
<td>老师上课代码</td>
<td>3100</td>
</tr>
<tr>
<td>自己项目代码</td>
<td>3200</td>
</tr>
</tbody>
</table>
<p>可以在 项目文件夹内 找到文件  <strong>bin/www</strong>  中的第15行进行修改</p>
<pre><code>// 修改 3000 为你要的端口即可
var port = normalizePort(process.env.PORT || '3000');
</code></pre><p>注意 也也可在 启动项目的时候输入 以下代码进行修改</p>
<pre><code>PORT=3100 npm start
</code></pre><h2 id="603">6.3. 总结</h2>
<p>当已经完全配置好环境之后 以后运行项目只需要以下步骤</p>
<p>运行项目的步骤总结:</p>
<ol>
<li>打开 <strong>phpStudy.exe</strong> 启动 <strong>mysql</strong></li>
<li>进入到项目的根目录 <strong>MyLeTao/</strong></li>
<li>打开命令行工具 输入 <code>npm start</code> 或者 <code>PORT=端口号  npm start</code></li>
<li>在浏览器中输入地址 <code>localhost:端口号/mobile</code>/ </li>
</ol>
<h1 id="7">7. 数据请求接口地址</h1>
<h2 id="701">7.1. 前台官网接口</h2>
<h3 id="490101">7.1.1. 用户模块</h3>
<h4 id="343010101">7.1.1.1. register</h4>
<ul>
<li>接口名称
注册接口</li>
<li>接口地址
/user/register</li>
<li>请求方式
  POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>username</td>
<td>是</td>
<td>用户名</td>
</tr>
<tr>
<td>password</td>
<td>是</td>
<td>用户密码</td>
</tr>
<tr>
<td>mobile</td>
<td>是</td>
<td>用户手机号</td>
</tr>
<tr>
<td>vCode</td>
<td>是</td>
<td>验证码</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">{"username":"zhoushugang","password":"123456","mobile":"15111111111","vCode":"DS7F"}
</code></pre>
</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册成功</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">{"success":true}
{ "error": 401, "message": "验证码错误!" }
{ "error": 403, "message": "用户名未填写！" }
{ "error": 403, "message": "密码未填写！" }
{ "error": 403, "message": "用户名已经存在!!!" }
{ "error": 403, "message": "手机号已注册过!!!" }
{ "error": 403, "message": "数据库异常！" }
</code></pre>
</li>
</ul>
<h4 id="343010102">7.1.1.2. login</h4>
<ul>
<li>接口名称
登录接口</li>
<li>接口地址
 /user/login</li>
<li>请求方式
  POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>username</td>
<td>是</td>
<td>用户名</td>
</tr>
<tr>
<td>password</td>
<td>是</td>
<td>用户密码</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">{"username":"zhoushugang","password":"123456"}
</code></pre>
</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
//error 同上个接口
</code></pre>
</li>
</ul>
<h4 id="343010103">7.1.1.3. logout</h4>
<ul>
<li>接口名称
登出接口</li>
<li>接口地址
/user/logout</li>
<li>请求方式
GET</li>
<li>参数说明
无</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
//error 同上个接口
</code></pre>
</li>
</ul>
<h4 id="343010104">7.1.1.4. update-password</h4>
<ul>
<li>接口名称
修改密码 （需要登录）</li>
<li>接口地址
/user/updatePassword</li>
<li>请求方式
POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>oldPassword</td>
<td>是</td>
<td>用户密码</td>
</tr>
<tr>
<td>newPassword</td>
<td>是</td>
<td>用户密码</td>
</tr>
</tbody>
</table>
<ul>
<li>示例</li>
</ul>
<pre><code class="lang-javascript">{"oldPassword":"123456","newPassword":"456789"}
</code></pre>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
//error 同上个接口
</code></pre>
<h4 id="343010105">7.1.1.5. query-user-message</h4>
</li>
<li>接口名称
查询个人信息 （需要登录）</li>
<li>接口地址
/user/queryUserMessage</li>
<li>请求方式
GET</li>
<li>参数说明</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{id: 6, username: "zhoushugang", password: "4QrcOUm6Wau+VuBX8g+IPg==", mobile: "15111311111", isDelete: 1}
//error 同上个接口
</code></pre>
<h4 id="343010106">7.1.1.6. v-code</h4>
</li>
<li>接口名称
获取注册验证码 （需要登录）</li>
<li>接口地址
/user/vCode</li>
<li>请求方式
GET</li>
<li>参数说明</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"vCode":"938004"}
//error 同上个接口
</code></pre>
<h4 id="343010107">7.1.1.7. v-code-for-update-password</h4>
</li>
<li>接口名称
获取修改密码验证码 （需要登录）</li>
<li>接口地址
/user/vCodeForUpdatePassword</li>
<li>请求方式
GET</li>
<li>参数说明</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"vCode":"938004"}
//error 同上个接口
</code></pre>
<h3 id="490102">7.1.2. 产品模块</h3>
</li>
</ul>
<h4 id="343010201">7.1.2.1. query-product</h4>
<ul>
<li>接口名称
搜索产品</li>
<li>接口地址
/product/queryProduct</li>
<li>请求方式
GET</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>proName</td>
<td>否</td>
<td>产品名称</td>
</tr>
<tr>
<td>brandId</td>
<td>否</td>
<td>品牌id</td>
</tr>
<tr>
<td>price</td>
<td>否</td>
<td>使用价格排序（1升序，2降序）</td>
</tr>
<tr>
<td>num</td>
<td>否</td>
<td>产品库存排序（1升序，2降序）</td>
</tr>
<tr>
<td>page</td>
<td>是</td>
<td>第几页</td>
</tr>
<tr>
<td>pageSize</td>
<td>是</td>
<td>每页的条数</td>
</tr>
</tbody>
</table>
<ul>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">{
page: 1,
size: 10,
data: 
 [  { id: 20, proName: '篮球鞋222', price: 499.1, num: 20 },
    { id: 21, proName: '篮球鞋222', price: 499.1, num: 20 },
    { id: 22, proName: '篮球鞋222', price: 499.1, num: 20 },
    { id: 23, proName: '篮球鞋222', price: 499.1, num: 20, 
      pic: [{
        id: 28,
        picName: '23-2.png',
        productId: 23,
        picAddr: 'product/23-2.png' },{
        id: 27,
        picName: '23-1.png',
        productId: 23,
        picAddr: 'product/23-1.png' } ] },
    { id: 24, proName: '篮球鞋', price: 4969.1, num: 22, 
      pic: [{
        id: 26,
        picName: '24-1.png',
        productId: 24,
        picAddr: 'product/24-1.png' }] } ],
count: 5 }
</code></pre>
</li>
</ul>
<h4 id="343010202">7.1.2.2. query-product-detail</h4>
<ul>
<li>接口名称
产品详情</li>
<li>接口地址
/product/queryProductDetail</li>
<li>请求方式
GET  </li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>产品id</td>
</tr>
</tbody>
</table>
<ul>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">{
"id": 1,
"proName": "羽绒服",
"oldPrice": 998,
"price": 600,
"pic": "/pic/1.jpg",
"proDesc": null,
"size": "170-195",
"statu": 1,
"updateTime": "2012-12-01T04:05:23.000Z",
"num": 1,
"brandId": 1
}
</code></pre>
</li>
</ul>
<h3 id="490103">7.1.3. 分类模块</h3>
<h4 id="343010301">7.1.3.1. query-top-category</h4>
<ul>
<li>接口名称
一级分类查询</li>
<li>接口地址
 /category/queryTopCategory</li>
<li>请求方式
GET</li>
<li><p>参数说明</p>
<p>参数名称|是否必须|说明
--|--|--</p>
</li>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">[
{
  "id": 1,
  "categoryName": "女装",
  "isDelete": 1
},
{
  "id": 2,
  "categoryName": "男装",
  "isDelete": 1
},
{
  "id": 3,
  "categoryName": "家电",
  "isDelete": 1
},
{
  "id": 4,
  "categoryName": "家具",
  "isDelete": 1
},
{
  "id": 5,
  "categoryName": "箱包",
  "isDelete": 1
},
{
  "id": 6,
  "categoryName": "珠宝",
  "isDelete": 1
}
]
</code></pre>
<h4 id="343010302">7.1.3.2. query-second-category</h4>
</li>
<li>接口名称
二级分类查询</li>
<li>接口地址
 /category/querySecondCategory</li>
<li>请求方式
GET</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>一级分类id</td>
</tr>
</tbody>
</table>
<ul>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">[
{
  "id": 1,
  "brandName": "耐克",
  "categoryId": 1,
  "brandLogo": "/pic/1.jpg",
  "isDelete": 1,
  "categoryName":"男鞋",
  "hot":1
},
{
  "id": 2,
  "brandName": "阿迪",
  "categoryId": 1,
  "brandLogo": "/pic/2.jpg",
  "isDelete": 1,
  "categoryName":"男鞋",
  "hot":1
},
{
  "id": 3,
  "brandName": "新百伦",
  "categoryId": 1,
  "brandLogo": "/pic/3.jpg",
  "isDelete": 1,
  "categoryName":"男鞋",
  "hot":1
},
{
  "id": 4,
  "brandName": "哥伦比亚",
  "categoryId": 1,
  "brandLogo": "/pic/4.jpg",
  "isDelete": 1,
  "categoryName":"男鞋",
  "hot":1
},
{
  "id": 5,
  "brandName": "匡威",
  "categoryId": 1,
  "brandLogo": "/pic/5.jpg",
  "isDelete": 1,
  "categoryName":"男鞋",
  "hot":1
}
]
</code></pre>
</li>
</ul>
<h3 id="490104">7.1.4. 购物车</h3>
<h4 id="343010401">7.1.4.1. add-cart</h4>
<ul>
<li>接口名称
添加购物车 （需要登录）</li>
<li>接口地址
 /cart/addCart</li>
<li>请求方式
POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>productId</td>
<td>是</td>
<td>产品id</td>
</tr>
<tr>
<td>num</td>
<td>是</td>
<td>产品数量</td>
</tr>
<tr>
<td>size</td>
<td>是</td>
<td>产品尺码</td>
</tr>
</tbody>
</table>
<ul>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">{ "success": true }
</code></pre>
<h4 id="343010402">7.1.4.2. update-cart</h4>
</li>
<li>接口名称
修改购物车 （需要登录）</li>
<li>接口地址
 /cart/updateCart</li>
<li>请求方式
POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>购物车数据id</td>
</tr>
<tr>
<td>size</td>
<td>是</td>
<td>产品尺码</td>
</tr>
<tr>
<td>num</td>
<td>是</td>
<td>产品数量</td>
</tr>
</tbody>
</table>
<ul>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">{"success":true}
</code></pre>
</li>
</ul>
<h4 id="343010403">7.1.4.3. delete-cart</h4>
<ul>
<li>接口名称
删除购物车 （需要登录）</li>
<li>接口地址
 /cart/deleteCart</li>
<li>请求方式
GET</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>购物车id 数组</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">{"id":[1,2,3]}
</code></pre>
</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
<ul>
<li>示例</li>
</ul>
<pre><code class="lang-javascript">{"success":true}
</code></pre>
<h4 id="343010404">7.1.4.4. query-cart-Paging</h4>
<ul>
<li>接口名称
查询购物车带分页 （需要登录）</li>
<li>接口地址
 /cart/queryCartPaging</li>
<li>请求方式
GET</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>page</td>
<td>是</td>
<td>页数</td>
</tr>
<tr>
<td>pageSize</td>
<td>是</td>
<td>每页条数</td>
</tr>
</tbody>
</table>
<ul>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">{
"page": 1,
"size": 1,
"count": 2,
"data":
 [ {
     "id": 1,
     "productId": 23,
     "num": 2,
     "size": '1',
     "proName": '羽绒服',
     "price": 600,
     "pic": [{
id: 26,
picName: '23-1.png',
productId: 23,
picAddr: 'product/23-1.png' },{
id: 27,
picName: '23-1.png',
productId: 23,
picAddr: 'product/23-2.png' }]] } ]
 }
</code></pre>
<h4 id="343010405">7.1.4.5. query-cart</h4>
</li>
<li>接口名称
查询购物车 （需要登录）</li>
<li>接口地址
 /cart/queryCart</li>
<li>请求方式
GET</li>
<li>参数说明</li>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例
```javascript</p>
<p> [ {</p>
<pre><code> "id": 1,
 "productId": 23,
 "num": 2,
 "size": '1',
 "proName": '羽绒服',
 "price": 600,
 "pic": [{
</code></pre><p>id: 26,
picName: '23-1.png',
productId: 23,
picAddr: 'product/23-1.png' },{
id: 27,
picName: '23-1.png',
productId: 23,
picAddr: 'product/23-2.png' }]] } ]</p>
</li>
</ul>
<pre><code>
### 收货地址
####  add-address
+ 接口名称
  添加收货地址 （需要登录）
+ 接口地址
  /address/addAddress
+ 请求方式
  POST
+ 参数说明

  参数名称|是否必须|说明
  --|--|--
  address  三级联动地址
  addressDetail  详细地址
  recipients 收货人
  postcode 邮编

+ 返回说明

  参数|说明
  --|--

+ 示例
```javascript
{"success":true}
</code></pre><h4 id="343010406">7.1.4.6. update-address</h4>
<ul>
<li>接口名称
修改收货地址 （需要登录）</li>
<li>接口地址
 /address/updateAddress</li>
<li>请求方式
POST</li>
<li><p>参数说明</p>
<p>参数名称|是否必须|说明
--|--|--
id  字段id 
address  三级联动地址
addressDetail  详细地址
recipients 收货人
postcode 邮编</p>
</li>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">{"success":true}
</code></pre>
</li>
</ul>
<h4 id="343010407">7.1.4.7. delete-address</h4>
<ul>
<li>接口名称
删除收货地址 （需要登录）</li>
<li>接口地址
 /address/deleteAddress</li>
<li>请求方式
POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>地址id</td>
</tr>
</tbody>
</table>
<ul>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">{"success":true}
</code></pre>
<h4 id="343010408">7.1.4.8. query-address</h4>
</li>
<li>接口名称
查询用户存储的收货地址 （需要登录）</li>
<li>接口地址
/address/queryAddress</li>
<li>请求方式
GET</li>
<li><p>参数说明</p>
<p>参数名称|是否必须|说明
--|--|--</p>
</li>
<li><p>返回说明
参数|说明
--|--</p>
</li>
<li>示例<pre><code class="lang-javascript">[{
  id: 1,
  userId: 2,
  address: '北京市海淀区',
  addressDetail: '西三旗建材城西路',
  isDelete: 1 },
  {
  id: 2,
  userId: 2,
  address: '天津市南开区',
  addressDetail: '红旗南路',
  isDelete: 1 
}]
</code></pre>
<h4 id="343010409">7.1.4.9. query-address-tree</h4>
</li>
<li>接口名称
查询收货地址树 （需要登录）</li>
<li>接口地址
 /address/queryAddressTree</li>
<li>请求方式
GET</li>
<li><p>参数说明</p>
<p>参数名称|是否必须|说明
--|--|--</p>
</li>
<li><p>返回说明</p>
<p>参数|说明
--|--</p>
</li>
<li><p>示例</p>
<pre><code class="lang-javascript">[{
"id": 1, "areaName": "北京", "child": [
 { "id": 11, "areaName": "东城区", "child": [{ "id": 111, "areaName": "安定门街道" }, { "id": 112, "areaName": "建国门街道" }] },
 { "id": 12, "areaName": "西城区", "child": [{ "id": 121, "areaName": "德外街道" }, { "id": 122, "areaName": "金融街" }] },
 { "id": 13, "areaName": "朝阳区", "child": [{ "id": 131, "areaName": "朝外街道" }, { "id": 132, "areaName": "劲松街道" }] }]
}, {
 "id": 2, "areaName": "天津", "child": [
   { "id": 21, "areaName": "和平区", "child": [{ "id": 211, "areaName": "南市街道" }, { "id": 212, "areaName": "新兴街道" }] },
   { "id": 22, "areaName": "南开区", "child": [{ "id": 221, "areaName": "八里台街" }, { "id": 222, "areaName": "王顶堤街" }] },
   { "id": 23, "areaName": "红桥区", "child": [{ "id": 231, "areaName": "西于庄街道" }, { "id": 232, "areaName": "双环村街道" }] }]
}]
</code></pre>
</li>
</ul>
<h2 id="702">7.2. 后台管理接口</h2>
<h3 id="490201">7.2.1. 员工模块</h3>
<h4 id="343040101" style="color: black; display: block;">7.2.1.1. employee-login</h4>
<ul>
<li>接口名称
登录接口</li>
<li>接口地址
 /employee/employeeLogin</li>
<li>请求方式
  POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>username</td>
<td>是</td>
<td>用户名</td>
</tr>
<tr>
<td>password</td>
<td>是</td>
<td>用户密码</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">{"username":"root","password","123456"}
</code></pre>
</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例</li>
</ul>
<pre><code class="lang-javascript">//success
{"success":true}
//error 1000 用户名错误  1001 密码错误
</code></pre>
<h4 id="343040102">7.2.1.2. employee-logout</h4>
<ul>
<li>接口名称
登出接口</li>
<li>接口地址
/employee/employeeLogout</li>
<li>请求方式
GET</li>
<li>参数说明
无</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
</code></pre>
<h4 id="343040103" style="color: black; display: block;">7.2.1.3. check-root-login</h4>
</li>
<li>接口名称
判断管理员登录</li>
<li>接口地址
 /employee/checkRootLogin</li>
<li>请求方式
  GET</li>
<li>参数说明</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
//error 
{ "error": 400, "message": "未登录！" }
</code></pre>
<h3 id="490202">7.2.2. 产品模块</h3>
<h4 id="343040201">7.2.2.1. add-product</h4>
</li>
<li>接口名称
产品新增 （需要登录）</li>
<li>接口地址
/product/addProduct</li>
<li>请求方式
POST  </li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>proName</td>
<td>是</td>
<td>产品名称</td>
</tr>
<tr>
<td>oldPrice</td>
<td>是</td>
<td>老价格</td>
</tr>
<tr>
<td>price</td>
<td>是</td>
<td>价格</td>
</tr>
<tr>
<td>proDesc</td>
<td>是</td>
<td>产品描述</td>
</tr>
<tr>
<td>size</td>
<td>是</td>
<td>产品尺寸</td>
</tr>
<tr>
<td>statu</td>
<td>是</td>
<td>产品上下架</td>
</tr>
<tr>
<td>num</td>
<td>是</td>
<td>用户库存</td>
</tr>
<tr>
<td>brandId</td>
<td>是</td>
<td>归属品牌</td>
</tr>
</tbody>
</table>
<p>pic图片数组[{"picName":"24-1.png","picAddr":"product/24-1.png"},{"picName":"24-1.png","picAddr":"product/24-1.png"}]</p>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
</code></pre>
<h4 id="343040202">7.2.2.2. add-product-pic</h4>
</li>
<li>接口名称
上传图片 （需要登录）</li>
<li>接口地址
/product/addProductPic</li>
<li>请求方式
POST  enctype="multipart/form-data"</li>
<li><p>参数说明</p>
<p>参数名称|是否必须|说明
--|--|--
pic1图片1
pic2图片2
pic3图片3</p>
</li>
<li><p>返回说明</p>
</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
[{"picName":"24-1.png","picAddr":"product/24-1.png"},{"picName":"24-1.png","picAddr":"product/24-1.png"}]
</code></pre>
<h4 id="343040203">7.2.2.3. update-product</h4>
</li>
<li>接口名称
产品修改 （需要登录）</li>
<li>接口地址
/product/updateProduct</li>
<li>请求方式
POST  </li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>产品id</td>
</tr>
<tr>
<td>proName</td>
<td>是</td>
<td>产品名称</td>
</tr>
<tr>
<td>oldPrice</td>
<td>是</td>
<td>老价格</td>
</tr>
<tr>
<td>price</td>
<td>是</td>
<td>价格</td>
</tr>
<tr>
<td>proDesc</td>
<td>是</td>
<td>产品描述</td>
</tr>
<tr>
<td>size</td>
<td>是</td>
<td>产品尺寸</td>
</tr>
<tr>
<td>statu</td>
<td>是</td>
<td>产品上下架</td>
</tr>
<tr>
<td>num</td>
<td>是</td>
<td>用户库存</td>
</tr>
<tr>
<td>brandId</td>
<td>是</td>
<td>归属品牌</td>
</tr>
</tbody>
</table>
<p>pic图片数组[{"picName":"24-1.png","picAddr":"product/24-1.png"},{"picName":"24-1.png","picAddr":"product/24-1.png"}]</p>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
</code></pre>
<h4 id="343040204">7.2.2.4. query-product-detail-list</h4>
</li>
<li>接口名称
产品列表查询 （需要登录）</li>
<li>接口地址
/product/queryProductDetailList</li>
<li>请求方式
GET</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>page</td>
<td>是</td>
<td>页数</td>
</tr>
<tr>
<td>pageSize</td>
<td>是</td>
<td>每页条数</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
[{
  "id": 1,
  "proName": '羽绒服',
  "oldPrice": 998,
  "price": 600,
  "proDesc": "质量好",
  "size": '170-195',
  "statu": 1,
  "updateTime": 2012-12-01T04:05:23.000Z,
  "num": 1,
  "brandId": 1 },
 {
  "id": 2,
  "proName": '羽绒服',
  "oldPrice": 998,
  "price": 599,
  "proDesc": '/样子新',
  "size": '170-195',
  "statu": 1,
  "updateTime": 2012-12-01T04:05:23.000Z,
  "num": 2,
  "brandId": 1 } ]
</code></pre>
<h3 id="490203">7.2.3. 分类模块</h3>
<h4 id="343040301" style="color: black; display: block;">7.2.3.1. add-top-category</h4>
</li>
<li>接口名称
添加1级分类 （需要登录）</li>
<li>接口地址
/category/addTopCategory</li>
<li>请求方式
POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>categoryName</td>
<td>是</td>
<td>分类名称</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
</code></pre>
<h4 id="343040302" style="color: black; display: block;">7.2.3.2. update-top-category</h4>
</li>
<li>接口名称
更新1级分类 （需要登录）</li>
<li>接口地址
/category/addTopCategory</li>
<li>请求方式
POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>分类id</td>
</tr>
<tr>
<td>categoryName</td>
<td>是</td>
<td>分类名称</td>
</tr>
<tr>
<td>isDelete</td>
<td>是</td>
<td>是否启用</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
</code></pre>
<h4 id="343040303" style="color: black; display: block;">7.2.3.3. query-top-category-paging</h4>
</li>
<li>接口名称
查询1级分类列表 （需要登录）</li>
<li>接口地址
/category/queryTopCategoryPaging</li>
<li>请求方式
GET</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>page</td>
<td>是</td>
<td>页数</td>
</tr>
<tr>
<td>pageSize</td>
<td>是</td>
<td>每页条数</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">[
{
  "id": 1,
  "categoryName": "女装",
  "isDelete": 1
},
{
  "id": 2,
  "categoryName": "男装",
  "isDelete": 1
},
{
  "id": 3,
  "categoryName": "家电",
  "isDelete": 1
},
{
  "id": 4,
  "categoryName": "家具",
  "isDelete": 1
},
{
  "id": 5,
  "categoryName": "箱包",
  "isDelete": 1
},
{
  "id": 6,
  "categoryName": "珠宝",
  "isDelete": 1
}
]
</code></pre>
<h4 id="343040304" style="color: black; display: block;">7.2.3.4. add-second-category</h4>
</li>
<li>接口名称
添加二级分类 （需要登录）</li>
<li>接口地址
/category/addSecondCategory</li>
<li>请求方式
POST </li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>brandName</td>
<td>是</td>
<td>品牌名称</td>
</tr>
<tr>
<td>categoryId</td>
<td>是</td>
<td>所属分类id</td>
</tr>
<tr>
<td>brandLogo</td>
<td>是</td>
<td>品牌logo图片地址</td>
</tr>
<tr>
<td>hot</td>
<td>是</td>
<td>火热的品牌</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
</code></pre>
<h4 id="343040305" style="color: black; display: block;">7.2.3.5. add-second-category-pic</h4>
</li>
<li>接口名称
上传图片 （需要登录）</li>
<li>接口地址
/category/addSecondCategoryPic</li>
<li>请求方式
POST  enctype="multipart/form-data"</li>
<li>参数说明
参数名称|是否必须|说明
--|--|--
pic1 图片</li>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"picAddr":"product/24-1.png"}
</code></pre>
<h4 id="343040306">7.2.3.6. update-second-category</h4>
</li>
<li>接口名称
更新2级分类（需要登录）</li>
<li>接口地址
/category/updateSecondCategory</li>
<li>请求方式
POST  enctype="multipart/form-data"</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>品牌id</td>
</tr>
<tr>
<td>brandName</td>
<td>是</td>
<td>品牌名称</td>
</tr>
<tr>
<td>categoryId</td>
<td>是</td>
<td>所属分类id</td>
</tr>
<tr>
<td>brandLogo</td>
<td>是</td>
<td>品牌logo图片 (上传文件)</td>
</tr>
<tr>
<td>isDelete</td>
<td>是</td>
<td>是否启用</td>
</tr>
<tr>
<td>hot</td>
<td>是</td>
<td>火热的品牌</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
</code></pre>
<h4 id="343040307" style="color: black; display: block;">7.2.3.7. query-second-category-paging</h4>
</li>
<li>接口名称
查询2级分类 （需要登录）</li>
<li>接口地址
/category/querySecondCategoryPaging</li>
<li>请求方式
GET</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>page</td>
<td>是</td>
<td>页数</td>
</tr>
<tr>
<td>pageSize</td>
<td>是</td>
<td>每页条数</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">{
page: 1,
size: 5,
data: 
 [  {
     id: 1,
     brandName: '耐克',
     categoryId: 1,
     brandLogo: '/pic/1.jpg',
     isDelete: 1,
     hot: 1 },
    {
     id: 2,
     brandName: '阿迪',
     categoryId: 1,
     brandLogo: '/pic/2.jpg',
     isDelete: 1,
     hot: 1 },
    {
     id: 3,
     brandName: '新百伦',
     categoryId: 1,
     brandLogo: '/pic/3.jpg',
     isDelete: 1,
     hot: 1 },
    {
     id: 4,
     brandName: '哥伦比亚',
     categoryId: 1,
     brandLogo: '/pic/4.jpg',
     isDelete: 1,
     hot: 0 },
    {
     id: 5,
     brandName: '匡威',
     categoryId: 1,
     brandLogo: '/pic/5.jpg',
     isDelete: 1,
     hot: 1 } ],
count: 9 }
</code></pre>
<h3 id="490204">7.2.4. 用户模块</h3>
<h4 id="343040401" style="color: black; display: block;">7.2.4.1. query-user</h4>
</li>
<li>接口名称
查询用户 （需要登录）</li>
<li>接口地址
/user/queryUser</li>
<li>请求方式
GET</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>page</td>
<td>是</td>
<td>页码</td>
</tr>
<tr>
<td>pageSize</td>
<td>是</td>
<td>每页条数</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{
page: 1,
size: 5,
data: 
 [  {
     id: 1,
     username: 'klt',
     password: '456',
     mobile: '13902060052',
     isDelete: 1 },
    {
     id: 2,
     username: 'zhoushugang',
     password: '4QrcOUm6Wau+VuBX8g+IPg==',
     mobile: '15102324243',
     isDelete: 1 },
    {
     id: 3,
     username: 'zhoushugang12',
     password: '4QrcOUm6Wau+VuBX8g+IPg==',
     mobile: '15102334243',
     isDelete: 1 } ],
count: 3 }
</code></pre>
<h4 id="343040402" style="color: black; display: block;">7.2.4.2. update-user</h4>
</li>
<li>接口名称
产品修改 （需要登录）</li>
<li>接口地址
/user/updateUser</li>
<li>请求方式
POST</li>
<li>参数说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>用户id</td>
</tr>
<tr>
<td>isDelete</td>
<td>是</td>
<td>是否启停</td>
</tr>
</tbody>
</table>
<ul>
<li>返回说明</li>
</ul>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>注册状态</td>
</tr>
<tr>
<td>error</td>
<td>操作失败</td>
</tr>
</tbody>
</table>
<ul>
<li>示例<pre><code class="lang-javascript">//success
{"success":true}
</code></pre>
</li>
</ul>

          	</article>
        </div>
		</div>
  

<script type="text/javascript" src="./i5ting_ztree_toc_index_files/jquery-1.4.4.min.js.下载"></script>
<script type="text/javascript" src="./i5ting_ztree_toc_index_files/jquery.ztree.all-3.5.min.js.下载"></script>
<script type="text/javascript" src="./i5ting_ztree_toc_index_files/ztree_toc.js.下载"></script>
<script type="text/javascript" src="./i5ting_ztree_toc_index_files/toc_conf.js.下载"></script>

<script type="text/javascript">
<!--
$(document).ready(function(){
    var css_conf = eval(markdown_panel_style);
    $('#readme').css(css_conf)
    
    var conf = eval(jquery_ztree_toc_opts);
		$('#tree').ztree_toc(conf);
});
//-->
</script></body></html>